package com.iweb.user.service;

import com.iweb.user.dao.UserSeatMapper;
import com.iweb.user.model.Seat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class UserSeatServiceImpl implements UserSeatService {

    @Autowired
    private UserSeatMapper userSeatMapper;

    @Override
    public List<Seat> findSeatsByShowId(int showId) {
        return userSeatMapper.selectByShowId(showId);
    }
}